package com.SoftwareEngineering.service;

import com.SoftwareEngineering.dao.TurtleTextMapper;
import com.SoftwareEngineering.pojo.TurtleText;
import org.springframework.transaction.annotation.Transactional;

import javax.inject.Inject;
import javax.inject.Named;

@Named
@Transactional
public class TurtleTextService {
    @Inject
    private TurtleTextMapper mapper;

    public TurtleText findTextById(int id){
        return mapper.findTextById(id);
    }
}
